package com.song.oa.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author tonysong
 * @since 2024-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_menu")
public class Menu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * url
     */
    private String url;

    /**
     * path
     */
    private String path;

    /**
     * 组件
     */
    private String component;

    /**
     * 菜单名
     */
    private String name;

    /**
     * 图标
     */
    @TableField("iconCls")
    private String iconcls;

    /**
     * 是否保持激活
     */
    @TableField("keepAlive")
    private Boolean keepalive;

    /**
     * 是否要求权限
     */
    @TableField("requireAuth")
    private Boolean requireauth;

    /**
     * 父id
     */
    @TableField("parentId")
    private Integer parentid;

    /**
     * 是否启用
     */
    private Boolean enabled;


}
